<p>
<label for="topic_title"><%= 'Title'[:title_title] %></label><br />
<%= form.text_field :title, :onchange => "/*TopicForm.editNewTitle(this);*/", :class => "primary", :tabindex => 10 %>

<% for_moderators_of @forum do -%>
<label style="margin-left:1em;">
<%= form.check_box :sticky %> <%= 'Sticky'[:sticky_title] %>
</label>

<label style="margin-left:1em;">
<%= form.check_box :locked %> <%= 'Locked'[:locked_title] %>
</label>
<% end -%>

</p>
<% if @topic.new_record? -%>
<p>
	<label for="topic_body"><%= 'Body'[:body_title] %></label><br />
	<%= form.text_area :body, :rows => 12, :tabindex => 20 %>
</p>
<% end -%>

<% if admin? && !@topic.new_record? && forums = current_site.ordered_forums -%>
	<% if forums.size > 1 -%>
<p id="topic_forum_id">
  <label for="topic_forum_id"><%= 'Forum'[:forum_title] %></label><br />
  <%= form.select :forum_id, forums.map {|x| [x.name, x.id] } %></p>
</p>
	<% end -%>
<% end -%>
